<?php
/* @var $this DefaultController */

$this->breadcrumbs=array(
    $this->module->id => array('/'.$this->module->id),
    $_GET['region']
);
?>
<table class="table table-bordered table-hover">
    <thead>
        <tr>
            <th>Region</th>
            <th>Block type</th>
            <th>Actions</th>
        </tr>
    </thead>
    <tbody>
        <?php foreach($models as $model) : ?>
        <tr>
            <td><?php echo h($model->title) ?></td>
            <td><?php echo $model->type ?></td>
            <td><a href="<?php echo $model->getEditUrl() ?>"><i class="icon-pencil"></i></a></td>
        </tr>
        <?php endforeach; ?>
    </tbody>
</table>